package service;

import com.github.pagehelper.PageInfo;
import entity.CustomerLoss;
import entity.LayRequest;

import java.util.List;
import java.util.Map;

public interface CustomerLossService {
    int insert(CustomerLoss customerLoss);
    List<CustomerLoss> selectAll();
    CustomerLoss selectById(Integer id);

    boolean delete(Integer id);
    boolean update(CustomerLoss customerLoss);
    PageInfo<CustomerLoss> selectByPage(Map<String, Object> map);
    PageInfo<CustomerLoss> selectByPage(LayRequest layRequest);
    boolean updateHeadPic(CustomerLoss customerLoss);
    int batchDelete(Integer[] ids);
}
